import Vue from 'vue';
import Vuex from 'vuex';
import state from './state';
import actions from './actions';
import mutations from './mutations';
import getters from './getters';
import topList from './modules/topList';
import user from "./modules/user";
import video from "./modules/video";

Vue.use(Vuex);

export default new Vuex.Store({
    state,
    mutations,
    getters,
    actions,
  modules: {
    topList,
    user,
    video,
  }
})
